//导入封装后的axios
import {instance} from '@/util/request'
export default{
   login:(data)=>instance.post('/users/login',data),
   getAuthMenus:()=>instance.get('/menus/getAuthMenus'),
   getUserInfo:()=>instance.get('/users/getUserInfo'),
   getUsers:params=>instance.get('/users/getUsers',{params}),
   register:data=>instance.post('/users/register',data),
   updateUsers:data=>instance.put('/users/updateUsers',data)
}